//
//  ReadLoginData.h
//  EasyToTesco
//
//  Created by mc on 16/3/14.
//  Copyright © 2016年 Jack. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ReadLoginData : NSObject


/**
 *  储存登录后信息
 *
 *  @param userDataDict 登录后返回数据
 */
+ (void)savelogindataToLocal:(NSDictionary *)userDataDict;

/**
 *  读取用户登录后信息
 *
 *  @return 登录后字典信息
 */
+ (NSMutableDictionary *)readLoginData;

/**
 *  清空登录状态信息 (注销)
 */
+ (void)cleanloginData;

+ (void)savelogindataToLocal:(NSDictionary *)userDataDict AndPlistPath:(NSString *) string;
+ (NSMutableDictionary *)readLoginDataWithPathPlistString:(NSString *)plistPath;


+ (void)saveShopDataToLocal:(NSMutableArray *)shopDataArr;
+ (NSMutableArray *)readShopArr;


+ (void)saveAddressDataToLocal:(NSDictionary *)userAddressDict;
+ (NSMutableDictionary *)readAddressData;
+ (void)removeDataToLocal:(NSString *)plistPath;

@end
